package com.capgemini.cn.authority.rest.service;

import com.capgemini.cn.authority.rest.valueobject.DataResponse;
import com.capgemini.cn.authority.rest.valueobject.data.AssetVO;

import java.util.List;

/**
 * Created at 2017/11/1
 *
 * @author Andriy
 */
public interface AssetService extends CommonService<AssetVO> {

    /**
     * 根据权限查询其所拥有的资源信息
     *
     * @param authId 权限主键ID值
     * @return 包装成{@link DataResponse}对象返回对应的实体对象数据
     */
    DataResponse<List<AssetVO>> findAssetsByAuthorize(long authId);
}
